<!doctype html>
<html lang="zh-hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">

<!-- css -->
<link rel="stylesheet" href='<?=base_url().'resource/lib/bootstrap/css/bootstrap.min.css'?>'>
<?php if ($showdebug==false): ?>
<link rel="stylesheet" href='<?=base_url().'resource/css/debug.css'?>'>
<?php endif; ?>
<!-- js -->
<script src='<?=base_url().'resource/lib/bootstrap/jquery-2.1.1.min.js'?>'></script>
<script src='<?=base_url().'resource/lib/bootstrap/js/bootstrap.min.js'?>'></script>

<title><?=$title;?></title>

<script>


/* 缓存测试 */
// window.onload = function() { 
// 	var msg = sessionStorage.getItem("state"); 
// 	alert("测试用户状态为"+msg);
// }

function tijiao(){ 
	$("#flag").val(2);
    document.form1.submit();
}     
    
</script>  
</head>
<body>
<div class="container" >
<div class="row">



<!-- 导航按钮 -->
<ul class="nav nav-pills">
  <li role="presentation"><a href="#">返回首页</a></li>
  <!-- 
  <li role="presentation" class="active"><a href="#">开始注册</a></li>-->
</ul>



<!-- 面板 -->
<div class="panel panel-default">
<div class="panel-heading">
   <p class="text-info"><span class="glyphicon glyphicon-paperclip" aria-hidden="true"></span> 经纪人注册(可选填)</p>
   <p class="bg-warning">填写银行卡号是为了便于接受佣金(请填写真实信息)，注册时不做强制要求，您也可以选择进入“我的信息”菜单下完善此信息</p>
    
</div>
<div class="panel-body">
<!-- 面板内容 start -->
<form class="form-horizontal" name="form1" action="<?=base_url().'index.php/user_control/add'?>" method="post">
<div class="input-group _hide">
<input class="form-control" id="openId"  name="openId" placeholder="openId" value="<?=isset($openId)?$openId:'';?>" >
<input class="form-control" id="flag"  name="flag" placeholder="flag" value="<?=isset($flag)?$flag:0;?>" >
<input class="form-control" id="uid"  name="uid" placeholder="uid" value="<?=isset($uid)?$uid:0;?>" >

<input class="form-control" id="name" name="name" value="<?=$user['name'];?>">
<input class="form-control" id="phone" name="phone" value="<?=$user['phone'];?>">
<input class="form-control" id="idCard" name="idCard" value="<?=$user['idCard'];?>">
<input class="form-control" id="provinceId" name="provinceId" value="<?=$user['provinceId'];?>">
<input class="form-control" id="cityId" name="cityId" value="<?=$user['cityId'];?>">
<input class="form-control" id="areaId" name="areaId" value="<?=$user['areaId'];?>">
</div>

<div class="form-group">
<label>开户银行</label>
<select class="form-control" id="S0" name="sellTimeType" >
  <option value ="a">中国银行</option>
  <option value ="b">建设银行</option>
  <option value="c">农业银行</option>
</select>
</div>

<div class="form-group">
<label>银行卡账号</label>
<input class="form-control"  name="bankNo" value="">
</div>


<!-- 协议 start 
<div class="form-group">
    <a class="btn btn-success" href="#" role="button"> 
    <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span> 经纪人协议</a>
    <label><input type="checkbox"> 同意</label>      
</div>
-->



<div class="panel-footer">
    <div class="row">

        <div class="col-xs-4 col-xs-offset-4">
        <button type="button" class="btn btn-warning" onClick="tijiao()">确定 </button>
        </div>
    </div>
</div>

</form>
</div>
</div>


</div>
</div>
</body>
</html>